<!doctype html>
<html lang="zh-CN">
<head>
  <meta charset="utf-8">
  <title>房源对比</title>
  <link rel="stylesheet" href="static/css/style.css">
</head>
<body>
<header>
  <h1>房源对比</h1>
  <nav><a href="index.html">返回列表</a></nav>
</header>

<main>
  <div id="compare-area"></div>
  <button id="clear-compare">清空对比</button>
</main>

<script src="static/js/main.js"></script>
<script>
window.addEventListener('load', renderCompare);
document.getElementById('clear-compare').onclick = clearCompare;
</script>
</body>
</html>
